package com.ld.security.auth.common.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value =  "ld-gateway")
public interface GatewayFeign {

    /**
     * 获得指定对象的api 文档
     * * @param serverName
     * @return
     */
    @RequestMapping(value = "/{serverName}/v2/api-docs",method = RequestMethod.GET)
    String apiDocs(@PathVariable("serverName") String serverName);

}
